package com.ebt.m.data.rxModel.apibean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Damon.Han on 2017/5/17 0017.
 *
 * @author Damon
 */

public class ApiProduct {
    /**
     * accMaxAge : 55.00000
     * accMinAge : 0.00030
     * accOccupation : 6
     * accSex : 0
     * brandId : 100034
     * brandMiniLogo : http://ebtres.oss-cn-hangzhou.aliyuncs.com/Cmp/34/minilogo.jpg
     * brandName : 新华人寿保险股份有限公司
     * brandShortName : 新华
     * categoryName : 年金保险
     * coverage : 100000
     * coveragePeriod : 终身
     * description : 锁定利益，终身享福；传承财富，加速回报
     * modelMap : {"value":["Q_ProductID","Q_CName","Q_CShortName","Q_BrandID","Q_ProductCategoryID","Q_InsurerProposalSysID","Q_ContractProperty","Q_HasDividents","Q_Thumbnail","Q_CompositionProperty","Q_AccMinAge","Q_AccMaxAge","Q_AccSex","Q_AccOccupation","Q_Description","Q_ListOrder","Q_RateTable","Q_PlanCode","Q_AttachPlanCode","Q_RelyPlanCode","Q_RecordTime","Q_RecordNo","Q_RecordIRC","Q_RecordCategory","Q_IsInsrPrpslSysPrdct","Q_PayCategory","N_CPCalculateMode","N_CUnitValue","N_CUnit","N_CMultipleMin","N_CMultipleMax","N_CMultipleStep","N_PUnit","N_DecimalDigits","N_CoveragePeriod","N_PaymentPeriod","N_PISex","N_PIOccupationCategory","N_PIAge","N_RateTable","N_DefaultCoverage","N_GetRateMethod","N_SexSet","N_AgeSet","N_Coverage","N_Premium","N_CurrencyUnit","N_CKeyboardAllowed","N_CUpperLimitedAuto","N_CumulationPremium","N_CumulationReceiv","N_PremiumPerYear","N_AreaBnftList","N_AreaLivePayList","N_AreaBenefit4","N_AreaBenefit4","N_AreaBenefit4","N_AreaBenefit4","N_UmBnftList","N_PolicyTermURL","N_ChapterURL","N_BftTblHead","N_BftTblCols","N_PolicyTermQRURL","N_AreaBenefit4","N_AreaBenefit4","N_AreaBenefit4","N_AreaBenefit4","N_AreaBenefit4","N_CPCalculateMode","V_10000","V_188","N_IntCtrlOption1(1000,12)","V_(Y)","N_CoveragePeriod(1000)","V_(Y,Y,Y,Y,Y)","N_PaymentPeriod(1000,3,5,10,20)","N_Premium","N_Coverage","N_ENotify1","N_ENotify2","N_PolicyAttachList","N_Bnftlist","N_Featurelist","V_(Model_CumulationPremium,Model_CumulationReceiv,Model_AreaLivePayList,Model_Bnft_Disease_Death,Model_Bnft_Accidental_Death)"],"key":["Model_ProductID","Model_CName","Model_CShortName","Model_BrandID","Model_ProductCategoryID","Model_InsurerProposalSysID","Model_ContractProperty","Model_HasDividents","Model_Thumbnail","Model_CompositionProperty","Model_AccMinAge","Model_AccMaxAge","Model_AccSex","Model_AccOccupation","Model_Description","Model_ListOrder","Model_RateTableB","Model_PlanCode","Model_AttachPlanCode","Model_RelyPlanCode","Model_RecordTime","Model_RecordNo","Model_RecordIRC","Model_RecordCategory","Model_IsInsrPrpslSysPrdct","Model_PayCategory","Model_CPCalculateMode","Model_CUnitValue","Model_CUnit","Model_CMultipleMin","Model_CMultipleMax","Model_CMultipleStep","Model_PUnit","Model_DecimalDigits","Model_CoveragePeriod","Model_PaymentPeriod","Model_PISex","Model_PIOccupationCategory","Model_PIAge","Model_RateTable","Model_DefaultCoverage","Model_GetRateMethod","Model_SexSet","Model_AgeSet","Model_Coverage","Model_Premium","Model_CurrencyUnit","Model_CKeyboardAllowed","Model_CUpperLimitedAuto","Model_CumulationPremium","Model_CumulationReceiv","Model_PremiumPerYear","Model_AreaBnftList","Model_AreaLivePayList","Model_Bnft_Disease_Death","Model_Bnft_Accidental_Death","Model_Cancer_Death","Model_Major_Diseases_Death","Model_UmBnftList","Model_PolicyTermURL","Model_ChapterURL","Model_BftTblHead","Model_BftTblCols","Model_PolicyTermQRURL","Model_PbTrsptAccdntlDth","Model_WtrbrnTrsptAccdntlDth","Model_ArTrnsptAccdntlDth","Model_RlTrnsptAccdntlDth","Model_OutoAccdntlDth","Model_CPCalculateMode0","Model_CUnitValue_PUnitValue0","NCIModel_RiskCode","NCIModel_PayIntv","NCIModel_InsuYearFlag","NCIModel_InsuYear","NCIModel_Payendyearflag","NCIModel_Payendyear","NCIModel_Premium","NCIModel_Coverage","NCIModel_HealthNotify","NCIModel_FinancilNotify","NCIModel_PolicyAttachList","Model_Bnftlist","Model_Featurelist","Model_TrueBnft"]}
     * name : 金彩一生终身年金保险计划
     * paymentPeriod : 20年交
     * premium : 22900
     * productCode : 188+915
     * productId : 3887
     * shortName : 金彩一生计划
     * thumbnail : http://ebtres.oss-cn-hangzhou.aliyuncs.com/Picture/3887/tn00.png
     */

    private String accMaxAge;
    private String accMinAge;
    private String accOccupation;
    private String accSex;
    private int brandId;
    private String brandMiniLogo;
    private String brandName;
    private String brandShortName;
    private int productCategoryId;
    private String categoryName;
    private String coverage;
    private String coveragePeriod;
    private String description;
    private String name;
    private String paymentPeriod;
    private String premium;
    private String productCode;
    private int productId;
    private String shortName;
    private String thumbnail;
    private ModelMapBean modelMap;
    private int hasDividends;//分红性质

    private String contractProperty;//合同属性
    private int compositionProperty;//组合属性

    private List<ProductObjBean> productObj;

    public List<ProductObjBean> getProductObj() {
        return productObj;
    }

    public void setProductObj(List<ProductObjBean> productObj) {
        this.productObj = productObj;
    }

    public int getHasDividends() {
        return hasDividends;
    }

    public void setHasDividends(int hasDividends) {
        this.hasDividends = hasDividends;
    }

    public String getContractProperty() {
        return contractProperty;
    }

    public void setContractProperty(String contractProperty) {
        this.contractProperty = contractProperty;
    }

    public int getCompositionProperty() {
        return compositionProperty;
    }

    public void setCompositionProperty(int compositionProperty) {
        this.compositionProperty = compositionProperty;
    }

    public ModelMapBean getModelMap() {
        return modelMap;
    }

    public void setModelMap(ModelMapBean modelMap) {
        this.modelMap = modelMap;
    }

    public int getProductCategoryId() {
        return productCategoryId;
    }

    public void setProductCategoryId(int productCategoryId) {
        this.productCategoryId = productCategoryId;
    }

//    public String getModelMap() {
//        return modelMap;
//    }
//
//    public void setModelMap(String modelMap) {
//        this.modelMap = modelMap;
//    }

    public String getAccMaxAge() {
        return accMaxAge;
    }

    public void setAccMaxAge(String accMaxAge) {
        this.accMaxAge = accMaxAge;
    }

    public String getAccMinAge() {
        return accMinAge;
    }

    public void setAccMinAge(String accMinAge) {
        this.accMinAge = accMinAge;
    }

    public String getAccOccupation() {
        return accOccupation;
    }

    public void setAccOccupation(String accOccupation) {
        this.accOccupation = accOccupation;
    }

    public String getAccSex() {
        return accSex;
    }

    public void setAccSex(String accSex) {
        this.accSex = accSex;
    }

    public int getBrandId() {
        return brandId;
    }

    public void setBrandId(int brandId) {
        this.brandId = brandId;
    }

    public String getBrandMiniLogo() {
        return brandMiniLogo;
    }

    public void setBrandMiniLogo(String brandMiniLogo) {
        this.brandMiniLogo = brandMiniLogo;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getBrandShortName() {
        return brandShortName;
    }

    public void setBrandShortName(String brandShortName) {
        this.brandShortName = brandShortName;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCoverage() {
        return coverage;
    }

    public void setCoverage(String coverage) {
        this.coverage = coverage;
    }

    public String getCoveragePeriod() {
        return coveragePeriod;
    }

    public void setCoveragePeriod(String coveragePeriod) {
        this.coveragePeriod = coveragePeriod;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPaymentPeriod() {
        return paymentPeriod;
    }

    public void setPaymentPeriod(String paymentPeriod) {
        this.paymentPeriod = paymentPeriod;
    }

    public String getPremium() {
        return premium;
    }

    public void setPremium(String premium) {
        this.premium = premium;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public static class ModelMapBean implements Serializable {
        private List<String> value;
        private List<String> key;

        public List<String> getValue() {
            return value;
        }

        public void setValue(List<String> value) {
            this.value = value;
        }

        public List<String> getKey() {
            return key;
        }

        public void setKey(List<String> key) {
            this.key = key;
        }
    }

    public static class ProductObjBean implements Serializable {
        /**
         * fieldName : CPCalculateMode
         * eDataType : EBoolean
         * valueJsonStr : {"eDataType":"eboolean","value":true}
         * infoTip :
         * metaNodeID : 13
         * isNecessary : true
         */

        private String fieldName;
        private String eDataType;
        private String valueJsonStr;
        private String infoTip;
        private int metaNodeID;
        private boolean isNecessary;

        public String getFieldName() {
            return fieldName;
        }

        public void setFieldName(String fieldName) {
            this.fieldName = fieldName;
        }

        public String getEDataType() {
            return eDataType;
        }

        public void setEDataType(String eDataType) {
            this.eDataType = eDataType;
        }

        public String getValueJsonStr() {
            return valueJsonStr;
        }

        public void setValueJsonStr(String valueJsonStr) {
            this.valueJsonStr = valueJsonStr;
        }

        public String getInfoTip() {
            return infoTip;
        }

        public void setInfoTip(String infoTip) {
            this.infoTip = infoTip;
        }

        public int getMetaNodeID() {
            return metaNodeID;
        }

        public void setMetaNodeID(int metaNodeID) {
            this.metaNodeID = metaNodeID;
        }

        public boolean isIsNecessary() {
            return isNecessary;
        }

        public void setIsNecessary(boolean isNecessary) {
            this.isNecessary = isNecessary;
        }
    }
}
